-- GENERATED SPELL FOR [Legion Invader] --


function spell0_32269(pUnit, Event) --@Mortal Cleave,n/a--
pUnit:FullCastSpellOnTarget(38572,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32269', 8260, 1)
end

function Sorts_32269(pUnit, Event)
local choix_sorts_32269 = math.random(0, 0)
if choix_sorts_32269 == 0 then
pUnit:RegisterEvent('spell0_32269', 1, 1)
end
end

function mob32269_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32269', math.random(1500, 3000), 1)
end

function mob32269_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32269_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32269_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32269, 1, 'mob32269_Action')
RegisterUnitEvent(32269, 2, 'mob32269_Leave')
RegisterUnitEvent(32269, 3, 'mob32269_Kill')
RegisterUnitEvent(32269, 4, 'mob32269_Die')
